package cn.iocoder.yudao.module.product.controller.admin.stockinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.List;

@Schema(description = "管理后台 - 库存信息新增/修改 Request VO")
@Data
public class StockInfoSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2819")
    private Long id;

    @Schema(description = "0配送人 1 门店 2 气站 ", example = "2")
    private Integer ownerType;

    @Schema(description = "库存id", example = "21302")
    private Long ownerId;

    @Schema(description = "skuid", example = "11191")
    private Long skuId;

    @Schema(description = "spuid", example = "8535")
    private Long spuId;

    @Schema(description = "sku数量", example = "24437")
    private Integer skuCount;

    @Schema(description = "版本号，乐观锁使用")
    private Integer version;

    @Schema(description = "更新人")
    private String updater;

    @Schema(description = "包装物或商品: 0|1")
    private Integer productType;

    @Schema(description = "钢瓶货品名称")
    private String spuName;

    @Schema(description = "液化气货品名称")
    private String name;

    @Schema(description = "属性")
    private String introduction;

    @Schema(description = "商品规格")
    private String productCode;

    @Schema(description = "商品类型")
    private String catName;

    @Schema(description = "item子集合")
    private List<StockInfoSaveReqVO> itemList;
}